//
//  leftimageButton.m
//  WHISPER
//
//  Created by lanou3g on 15/12/19.
//  Copyright © 2015年 王艳苹. All rights reserved.
//

#import "leftimageButton.h"
#import "UIView+Extention.h"

@implementation leftimageButton
//更改布局
- (CGRect)imageRectForContentRect:(CGRect)contentRect{
    return CGRectMake(0, 0,self.hight, self.hight);
}
- (CGRect)titleRectForContentRect:(CGRect)contentRect{
    return CGRectMake(self.imageView.width,0, self.width - self.imageView.width, self.hight);
}
@end
